# It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Desktop Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description - Script to Disable all IPv6 interfaces # Remarks - It will be effective only after restart the system and also it will uncheck IPv6 option in adapter properties # Configuration Type - COMPUTER # =========================================================================================================================== $interfaces=Get-NetAdapterBinding -ComponentID ms_tcpip6 | Select -ExpandProperty Name foreach($interface in $interfaces) { Disable-NetAdapterBinding -Name $interface -ComponentID ms_tcpip6 }